package com.dhl.fin.api.dto;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class RisePayOrderReqDTO {

    @NotNull(message = "支付金额不能为空")
    private Double totalMoney;

    @NotEmpty(message = "描述")
    String description;

    @NotNull(message = "支付的几年")
    private Integer years;

    @NotNull(message = "1年费用")
    private Double yearPrice;

    @NotEmpty(message = "孩子的ID号")
    private String familyIdList;

    @NotEmpty(message = "孩子的银行卡ID号")
    private String bankCardIdList;

}
